package cn.david.order.service;


import cn.david.basic.service.IBasicService;
import cn.david.basic.util.PageList;
import cn.david.order.domain.AdoptOrder;
import cn.david.order.query.AdoptOrderQuery;
import cn.david.user.domian.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBasicService<AdoptOrder> {

    String submit(Map<String, Object> params, Logininfo loginInfo);


    PageList<AdoptOrder> admin(AdoptOrderQuery query, Long id);

    PageList<AdoptOrder> user(AdoptOrderQuery query, Long id);
    //触发定时状态的
    void quartzCancel(Long orderId);
}
